<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	// 获得本项目的地址(例如: http://localhost:8080/MyApp/)赋值给basePath变量    
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<<script type="text/javascript" src="<%=basePath %>js/top_menu.js"></script>
<div id="header">
	<div id="logo">
		<h1>
			<a href="<%=basePath %>">Du's Cafe</a>
		</h1>
		<p>
			<em> magic coffee <a
				href="me/#">阿杜</a></em>
		</p>
	</div>
	<hr />
	<!-- end #logo -->
	<div id="menu">
		<ul>
			<li class="first"><a href="<%=basePath %>" >主页</a></li>
			<li><a  href="blog/blogAction!getAllBlogs.action">博客</a> </li>
			<li><a href="works/#/">作品</a></li>
			<li><a href="me/#">我</a></li>
		</ul>
	</div>
</div>
